home *** CD-ROM | disk | FTP | other *** search
Text File | 1987-11-26 | 1.9 KB | 41 lines | [TEXT/MSWD] |
- ( Background Host Mode Procedure )
- ( by Harald Smit 11/27/87 )
- ( Function: )
- ( The following procedure permits the user to switch to another )
- ( application under MultiFinder while still allowing Red Ryder to go )
- ( into Host Mode. After the time delay specified by the user Host Mode)
- ( is activated and remains functional in the background while using )
- ( MultiFinder to work between active applications other than Red Ryder.)
- ( Note: )
- ( If you desire to switch back to the Command Mode of Red Ryder after )
- ( activating this procedure, you need only re-execute this procedure. )
- ( Of course, you will probably have to use Initiate Procedure to )
- ( execute it since the terminal window is hidden so that Red Ryder )
- ( won't be accidently entered by clicking in its window while in )
- ( another application. )
- ( I recommend the use of MFMenu if you are used to switching by using )
- ( the small icons in the corner when MultiFinder is active. )
- ( I hope whoever reads this finds this procedure as useful as I do. Now, )
- ( because of this procedure I can have Red Ryder in Host Mode at all )
- ( times waiting for calls, while I am still running other applications )
-
- CLEAR
- COPYINTO X$,Please enter the number of seconds to wait before this
- COPYINTO Y$,procedure enters host mode.
- COPYINTO Z$, by Harald Smit (HJSMIT)
- QUERY1 A$
- STRINGTONUM A$,A%
- PANICAFTER A%
- ONPANIC JUMPTO GOHOST
- ( If the user doesn't type Zork before the time he specified, the )
- ( ON PANIC statement will start the host mode )
- PROMPT Zork
- END
-
- :GOHOST
- ( Hide the terminal window, so it won't be clicked upon from MultiFinder )
- SCREEN OFF
- HOST
- ( The above line might be more useful as a DO to a separate host )
- ( procedure, but I just kept it generic to allow easy tailoring )
- END